from selenium.webdriver.common.by import By
from autoTest_ecshop.base_page.base import BasePage


class HomePage(BasePage):
    keyword_loc = (By.XPATH, '//*[@id="keyword"]')
    sBtn_loc = (By.XPATH, '//*[@id="searchForm"]/input[2]')
    shop_details = (By.XPATH, '//*[@id="compareForm"]/div/div/div/a[1]/img')
    addToCart = (By.XPATH, '//*[@id="ECS_FORMBUY"]/ul/li[9]/a[1]')
    delGoods = (By.LINK_TEXT, "删除")



